package org.itboys.basetemplate.entity;

import java.util.Date;

import org.itboys.mongodb.entity.BaseLongIdEntity;
import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Indexed;
/**
 *
 */
@Entity(value = "TravelNote", noClassnameStored = true)
public class TravelNote extends BaseLongIdEntity {
	private static final long serialVersionUID = -8232054398674203722L;
	
	@Indexed
	private Long catId;//分类id
	@Indexed
	private Long centerId;//运营中心id
	private String title;//标题
	private String description;//简介
	private String content;//资讯内容
	private Integer sort;//排序
	private Date createTime;//创建时间
	private Date updateTime;//更新时间
	private Date sortTime;//排序时间
	private Date publishTime;//发布日期
	private Integer status;//0删除，1创建，2发布
	private Integer type;//1微信|2pc
	private String url;//转载链接
	private String image;//主图片
	private Long creatorId;//创建者Id
	private String creator;//作者
	private Long updater;//更新者
	private String logo;//用户头像
	private String source;//信息来源
	private String keyword;//关键字
	private Long viewCount;//浏览次数
	private Long commentCount;//评论数
	private Long goodCount;//点赞数
	private Long collectCount;//点赞数
	private Integer isDeleted;//1删除
	public Long getCatId() {
		return catId;
	}
	public void setCatId(Long catId) {
		this.catId = catId;
	}
	public Long getCenterId() {
		return centerId;
	}
	public void setCenterId(Long centerId) {
		this.centerId = centerId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public Date getSortTime() {
		return sortTime;
	}
	public void setSortTime(Date sortTime) {
		this.sortTime = sortTime;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public Long getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}
	public String getCreator() {
		return creator;
	}
	public void setCreator(String creator) {
		this.creator = creator;
	}
	public Long getUpdater() {
		return updater;
	}
	public void setUpdater(Long updater) {
		this.updater = updater;
	}
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public Long getViewCount() {
		return viewCount;
	}
	public void setViewCount(Long viewCount) {
		this.viewCount = viewCount;
	}
	public Long getCommentCount() {
		return commentCount;
	}
	public void setCommentCount(Long commentCount) {
		this.commentCount = commentCount;
	}
	public Long getGoodCount() {
		return goodCount;
	}
	public void setGoodCount(Long goodCount) {
		this.goodCount = goodCount;
	}
	public Long getCollectCount() {
		return collectCount;
	}
	public void setCollectCount(Long collectCount) {
		this.collectCount = collectCount;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
	
}
